#define _CRT_SECURE_NO_WARNINGS 1
#include "stack.h"
#include "queue.h"
void test()
{
	Stack stack;

	STInit(&stack);
	STPush(&stack, 1);
	STPush(&stack, 2);
	STPush(&stack, 3);
	STPush(&stack, 4);

	int x = STTop(&stack);
	STPop(&stack);
	STPop(&stack);
	int sz = STSize(&stack);
	STPop(&stack);
	STPop(&stack);
	//STPop(&stack);

	STDestroy(&stack);
}

void testqueue()
{
	MyQueue* queue = myQueueCreate();

	myQueuePush(queue, 1);
	myQueuePush(queue, 2);

	int x = myQueuePeek(queue);
}
int main()
{
	//test();
	testqueue();
	return 0;
}